import Vue from 'vue'
import Vuex from 'vuex'

import service from '@/serves'
import detailServce from "../serves/detail";
Vue.use(Vuex)
export default new Vuex.Store({
    actions:{
        getBannerList(){
            return service.homeServce.getbannerList()
        },
        getprovincecity(){
            return service.homeServce.getprovincecity()
        },
        getcity(obj,obj2){
            return service.homeServce.getcity(obj2)
        },
        getMenuList(){
            return service.homeServce.getMenuList()
        },
        getdetailList(){
            return service.detailServce.getdetailimg()
        }
    }
})
